//
//  DCOrderListModel.h
//  Demo
//
//  Created by zhaolin on 2023/2/2.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN


@interface DCBeforePaymentDetail : NSObject
//申请日期
@property (nonatomic, copy) NSString *applyTime;
//借款金额
@property (nonatomic, copy) NSString *loanAmount;

@end


@interface DCRepaymentDetail : NSObject
//还款金额
@property (nonatomic, copy) NSString *repaymentAmount;
//还款时间
@property (nonatomic, copy) NSString *repaymentTime;

@end


@interface DCSettledLoanDetail : NSObject
//实际还款日期
@property (nonatomic, copy) NSString *repayTime;
//实际还款金额
@property (nonatomic, copy) NSString *repaymentIncomeAmount;

@end


@interface DCOrderModel : NSObject

// 放款之前显示的日期和金额
@property (nonatomic, strong) DCSettledLoanDetail *settledLoanDetail;

//待还款显示的日期和金额
@property (nonatomic, strong) DCRepaymentDetail *repaymentDetail;

//结清显示的日期和金额 ,
@property (nonatomic, strong) DCBeforePaymentDetail *beforePaymentDetail;

//订单号 ,
@property (nonatomic, copy) NSString *orderNo;

//产品ID ,
@property (nonatomic, copy) NSString *productId;

//产品名称 ,
@property (nonatomic, copy) NSString *productName;

//图片
@property (nonatomic, copy) NSString *slogan;

//状态90：审批中,100：审批通过,110：审批不通过,150：放款中,169：放款失败,170：放款成功,180：逾期,200：贷款结清
@property (nonatomic, copy) NSString *status;

@end


@interface DCOrderListModel : NSObject
@property (nonatomic, assign) NSInteger nextPage;
@property (nonatomic, assign) NSInteger pageNum;
@property (nonatomic, assign) NSInteger pageSize;
@property (nonatomic, assign) NSInteger pages;
@property (nonatomic, assign) NSInteger prePage;
@property (nonatomic, assign) NSInteger total;
@end


NS_ASSUME_NONNULL_END
